import { pubRequire } from '@utils/public'
const baseUrl = '/lives/verifyings'
/*主播认证列表*/
export function getLivesVerifyings(obj, callbBack, errBack) {
  return pubRequire('get', `${baseUrl}`, obj, callbBack, errBack)
}
/*主播认证驳回*/
export function putLivesVerfyingsReject(obj, callbBack, errBack) {
  return pubRequire(
    'put',
    `${baseUrl}/${obj.id}/reject`,
    obj,
    callbBack,
    errBack
  )
}
/*主播认证通过*/
export function putLivesVerfyings(obj, callbBack, errBack) {
  return pubRequire('put', `${baseUrl}/${obj.id}`, obj, callbBack, errBack)
}
